﻿using RoslynProxy.SourceGenerator;
using System.Collections.Generic;

namespace RoslynProxy.Core.Contracts
{
    /// <summary>
    /// 代理服务类型构建信息
    /// </summary>
    public class ProxyServiceTypeBuildInfo
    {
        /// <summary>
        /// 名称空间
        /// </summary>
        public string ContainingNamespace { get; set; }

        /// <summary>
        /// 类型名称
        /// </summary>
        public string RoslynProxyServiceCollectionTypeName { get; set; }

        /// <summary>
        /// 代理服务列表
        /// </summary>
        public List<ProxyServiceInfo> ProxyServices { get; set; }

        public ProxyServiceTypeBuildInfo(string containingNamespace, string roslynProxyServiceCollectionTypeName, List<ProxyServiceInfo> proxyServices)
        {
            ContainingNamespace = containingNamespace;
            RoslynProxyServiceCollectionTypeName = roslynProxyServiceCollectionTypeName;
            ProxyServices = proxyServices;
        }
    }
}
